<!--添加弹出框-->
<div class="wizard" id="wizard-demo">
    <form method="post" onsubmit="add()" id="addForm">
        <h1>添加客供料</h1>
        <div class="wizard-card" data-onValidated="setServerName" data-cardname="name">
            <h3 class="text-center"><span>添加客供料</span></h3>

            <div class="wizard-input-section">
                <div class="form-group">
                    <label for="sup_type_add">客供料型号 <span>*</span>
                    </label>
                    <div>
                        <input type="text" id="sup_type_add" name="sup_type_add" required="required" class="form-control col-md-7 col-xs-12">
                    </div>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label>模块型号 <span>*</span></label>
                    <select id="mod_id_add" class="form-control" name="mod_id_add">
                        {volist name='modelTypes' id='v'}
                        <option value="{$v['model_id']}">{$v.model_type}</option>
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label>配件 </label>
                    <select id="fit_id_add" class="form-control" name="fit_id_add">
                        <option value=""></option>
                        {volist name='fittings' id='v'}
                        <option value="{$v['fid']}">{$v.fitting}</option>
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label for="provider_add">供应商 <span>*</span>
                    </label>
                    <div>
                        <input type="text" id="provider_add" name="provider_add" required="required" class="form-control col-md-7 col-xs-12">
                    </div>
                </div>
            </div>
        </div>

    </form>
</div>
<!--添加弹出框-->

